package com.ruoyi.yl.medicalOrderSettings.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import io.swagger.annotations.*;

/**
 * 医嘱次数对象 yl_medical_order_frequency
 *
 * @author Ming
 * @date 2025-10-21
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@ApiModel(value = "YlMedicalOrderFrequency", description = "用户实体")
public class YlMedicalOrderFrequency extends BaseEntity {

    /**
     * 英文名
     */
    @Excel(name = "英文名")
    @ApiModelProperty("英文名")
    private String englishName;

    /**
     * 中文名
     */
    @Excel(name = "中文名")
    @ApiModelProperty("中文名")
    private String chineseName;

    /**
     * 每日次数
     */
    @Excel(name = "每日次数")
    @ApiModelProperty("每日次数")
    private Long dailyFrequency;

    /**
     * 间隔天数
     */
    @Excel(name = "间隔天数")
    @ApiModelProperty("间隔天数")
    private Long intervalDays;

    /**
     * 时段
     */
    @Excel(name = "时段")
    @ApiModelProperty("时段")
    private String timePeriod;

    /**
     * 备注
     */
    @Excel(name = "备注")
    @ApiModelProperty("备注")
    private String remark;

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 是否删除 1-正常 2-删除
     */
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("是否删除 1-正常 2-删除")
    private String deleteStatus;

}
